(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  ["pages/index/index"], {
    "2e75": function (t, n, e) {
      "use strict";
      (function (t) {
        var i = e("4ea4");
        Object.defineProperty(n, "__esModule", {
          value: !0
        }), n.default = void 0;
        var r = i(e("2eee")),
          a = i(e("c973"));

        function u(t, n) {
          var e = "undefined" !== typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
          if (!e) {
            if (Array.isArray(t) || (e = function (t, n) {
                if (!t) return;
                if ("string" === typeof t) return o(t, n);
                var e = Object.prototype.toString.call(t).slice(8, -1);
                "Object" === e && t.constructor && (e = t.constructor.name);
                if ("Map" === e || "Set" === e) return Array.from(t);
                if ("Arguments" === e || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return o(t, n)
              }(t)) || n && t && "number" === typeof t.length) {
              e && (t = e);
              var i = 0,
                r = function () {};
              return {
                s: r,
                n: function () {
                  return i >= t.length ? {
                    done: !0
                  } : {
                    done: !1,
                    value: t[i++]
                  }
                },
                e: function (t) {
                  throw t
                },
                f: r
              }
            }
            throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
          }
          var a, u = !0,
            c = !1;
          return {
            s: function () {
              e = e.call(t)
            },
            n: function () {
              var t = e.next();
              return u = t.done, t
            },
            e: function (t) {
              c = !0, a = t
            },
            f: function () {
              try {
                u || null == e.return || e.return()
              } finally {
                if (c) throw a
              }
            }
          }
        }

        function o(t, n) {
          (null == n || n > t.length) && (n = t.length);
          for (var e = 0, i = new Array(n); e < n; e++) i[e] = t[e];
          return i
        }
        e("4107");
        var c = {
          components: {
            uniIcons: function () {
              Promise.all([e.e("common/vendor"), e.e("components/uni-ui/lib/uni-icons/uni-icons")]).then(function () {
                return resolve(e("cedf"))
              }.bind(null, e)).catch(e.oe)
            }
          },
          data: function () {
            return {
              autoplaySwiper: !0,
              intervalSwiper: 5e3,
              swiperList: [],
              tushuxinxilist: [],
              tejiatushulist: [],
              news: []
            }
          },
          onShow: function () {
            var t = this;
            return (0, a.default)(r.default.mark((function n() {
              var e, i, a, o, c;
              return r.default.wrap((function (n) {
                while (1) switch (n.prev = n.next) {
                  case 0:
                    return e = [], n.next = 3, t.$api.page("config", {
                      page: 1,
                      limit: 5
                    });
                  case 3:
                    i = n.sent, a = u(i.data.list);
                    try {
                      for (a.s(); !(o = a.n()).done;) c = o.value, c.name.indexOf("picture") >= 0 && c.value && "" != c.value && null != c.value && e.push({
                        img: c.value
                      })
                    } catch (r) {
                      a.e(r)
                    } finally {
                      a.f()
                    }
                    const app = getApp().$vm;
                    e.forEach(sw=>{
                      sw.img=app.commonMethod.getComputedUrl(sw.img)
                    })
                    console.log('e:',e)

                    return e && (t.swiperList = e), n.next = 9, t.$api.recommend("tushuxinxi", 1, 6);
                  case 9:
                    return i = n.sent, t.tushuxinxilist = i.data.list, n.next = 13, t.$api.recommend("tejiatushu", 1, 6);
                  case 13:
                    i = n.sent, t.tejiatushulist = i.data.list;
                  case 15:
                  case "end":
                    return n.stop()
                }
              }), n)
            })))()
          },
          methods: {
            onSwiperTap: function (t) {},
            onNewsDetailTap: function (t) {
              this.$utils.jump("../news-detail/news-detail?id=".concat(t))
            },
            onDetailTap: function (t, n) {
              this.$utils.jump("../".concat(t, "/detail?id=").concat(n))
            },
            onPageTap: function (n) {
              t.navigateTo({
                url: "../".concat(n, "/list"),
                fail: function () {
                  t.switchTab({
                    url: "../".concat(n, "/list")
                  })
                }
              })
            }
          }
        };
        n.default = c
      }).call(this, e("543d")["default"])
    },
    "4d94": function (t, n, e) {
      "use strict";
      e.r(n);
      var i = e("2e75"),
        r = e.n(i);
      for (var a in i)["default"].indexOf(a) < 0 && function (t) {
        e.d(n, t, (function () {
          return i[t]
        }))
      }(a);
      n["default"] = r.a
    },
    "77eb": function (t, n, e) {
      "use strict";
      var i = e("aa65"),
        r = e.n(i);
      r.a
    },
    "93fa": function (t, n, e) {
      "use strict";
      e.r(n);
      var i = e("ebb6"),
        r = e("4d94");
      for (var a in r)["default"].indexOf(a) < 0 && function (t) {
        e.d(n, t, (function () {
          return r[t]
        }))
      }(a);
      e("77eb");
      var u = e("f0c5"),
        o = Object(u["a"])(r["default"], i["b"], i["c"], !1, null, null, null, !1, i["a"], void 0);
      n["default"] = o.exports
    },
    a6f8: function (t, n, e) {
      "use strict";
      (function (t, n) {
        var i = e("4ea4");
        e("f9f2");
        i(e("66fd"));
        var r = i(e("93fa"));
        t.__webpack_require_UNI_MP_PLUGIN__ = e, n(r.default)
      }).call(this, e("bc2e")["default"], e("543d")["createPage"])
    },
    aa65: function (t, n, e) {},
    ebb6: function (t, n, e) {
      "use strict";
      e.d(n, "b", (function () {
        return i
      })), e.d(n, "c", (function () {
        return r
      })), e.d(n, "a", (function () {}));
      var i = function () {
          var t = this,
            n = t.$createElement,
            e = (t._self._c, t.__map(t.tushuxinxilist, (function (n, e) {
              var i = t.__get_orig(n),
                r = n.tupian ? n.tupian.split(",") : null;
              return {
                $orig: i,
                g0: r
              }
            }))),
            i = t.__map(t.tejiatushulist, (function (n, e) {
              var i = t.__get_orig(n),
                r = n.tupian ? n.tupian.split(",") : null;
              return {
                $orig: i,
                g2: r
              }
            }));
          t.$mp.data = Object.assign({}, {
            $root: {
              l0: e,
              l1: null,
              l2: i,
              l3: null
            }
          })
        },
        r = []
    }
  },
  [
    ["a6f8", "common/runtime", "common/vendor"]
  ]
]);